package com.chester.springbootseventeen.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author chester7cheng
 */
@Data
public class FamilyMember implements Serializable {
    private static final long serialVersionUID = -425486231657600512L;
    //+---------------+-----------------------------------------+
    //| Table         | Create Table                            |
    //+---------------+-----------------------------------------+
    //| family_member | CREATE TABLE `family_member` (          |
    //|               |   `id` int(11) NOT NULL AUTO_INCREMENT, |
    //|               |   `user_id` int(11) DEFAULT NULL,       |
    //|               |   `member_id` int(11) DEFAULT NULL,     |
    //|               |   `name` varchar(50) DEFAULT NULL,      |
    //|               |   `relation` varchar(50) DEFAULT NULL,  |
    //|               |   PRIMARY KEY (`id`)                    |
    //|               | ) ENGINE=InnoDB DEFAULT CHARSET=utf8    |
    //+---------------+-----------------------------------------+

    private Integer id;
    private Integer userId;
    private Integer memberId;
    private String name;
    private String relation;
}
